package com.hotec.PROJECT_NAME.modules.sys.entity;

import com.hotec.PROJECT_NAME.component.basic.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;


/**
 *
 * 角色资源关联表
 * @author llb
 */
@Data
@Table(name = "sys_role_resource")
@Accessors(chain = true)
public class SysRoleResource extends BaseEntity{

    @Column(name = "role_id")
    private String roleId;

    @Column(name = "resource_id")
    private String resourceId;

    @Column(name = "tenant_code")
    private String tenantCode;

}
